package shared.tsPojo

import upickle.default._

import scala.collection.immutable.SeqMap

/**
 * Created by yz on 6/6/2022
 */
object BrowseCirc {

  object HTissueBoxplotImage {

    case class Request(circId: String, group: String, phenotypes: List[String], datasets: List[String],
                       log: String)

    implicit val requestRw = macroRW[Request]

    case class Response(valid: Boolean, base64: String = "", message: String = "", geneData: String = "")

    implicit val responseRw = macroRW[Response]

  }

  object MTissueBoxplotImage {

    case class Request(circId: String, group: String, phenotypes: List[String], datasets: List[String],
                       models: List[String], log: String)

    implicit val requestRw = macroRW[Request]

    case class Response(valid: Boolean, base64: String = "", message: String = "", geneData: String = "")

    implicit val responseRw = macroRW[Response]

  }

}
